package com.example.analysis.service;

import com.example.analysis.entity.Class;
import com.example.analysis.utils.Response;

import java.util.List;

public interface ClassService {
    Response<Class> insert(Class aClass);
    Response<Class> getById(String classId);
    Response<Class> getByName(String className);

    /**
     * 获取整个班级集合
     * @return 班级集合
     */
    Response<List<Class>> getAll();
}
